<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Snabbdom Demo</title>
    <style>
        .movies {
            width: 1080px;
            background-color: #313131;
            color: #ffffff;
            padding: 20px;
            margin: 60px auto auto;
        }
        #operate {
            display: flex;
            justify-content: center;
            align-items: center;
        }
        ul {
            list-style: none;
            padding: 0;
            width: inherit;
            position: relative;
        }
        li.movieCard {
            background-color: #212121;
            padding: 10px;
            display: flex;
            width: calc(100% - 20px);
            align-items: center;
            position: absolute;
            margin-bottom: 5px;
            transition: transform 0.5s ease-in-out, opacity 0.5s ease-out, left 0.5s ease-in-out;
        }
        #sort {
            margin-right: 10px;
        }
        .rank {
            font-weight: bold;
            width: 3%;
            margin-right: 10px;
        }
        .title {
            width: 10%;
            margin-right: 10px;
        }
        .des {
            width: 87%;
            margin-right: 10px;
        }
        #add {
            margin-left: auto;
        }
        .delete {
            position: absolute;
            right: 5px;
            top: 5px;
            color: #AE9182;
            cursor: pointer;
        }
        button {
            color: #efefef;
            /*border: none;*/
            background-color: #212121;
            outline: none;
            padding: 10px;
            border: 1px solid #1D1C19;
            cursor: pointer;
        }
        button:hover, button.active, li.movieCard:hover{
            background-color: #efefef;
            color: #313131;
        }

    </style>
</head>
<body>
<div id="app"></div>
<script src="./src/main.js"></script>
</body>
</html>
